package org.axis2.client.stub;

import java.rmi.RemoteException;

import org.apache.axis2.AxisFault;
import org.apache.ws.axis2.HelloStub;

/**
 * wsdl2java 生成的Stub测试
 * Created by wevil on 16-10-26.
 */
public class StubTest {
    public static void main(String[] args) throws RemoteException {
        try {
            HelloStub hs = new HelloStub();
            HelloStub.GetString hss = new HelloStub.GetString();
            hss.setArgs0("Dwyane-Wevil");
            String local_return = hs.getString(hss).get_return();
            System.out.println(local_return);
        } catch (AxisFault e) {
            e.printStackTrace();
        }
    }
}